package com.tledu.hdfs;

public class WordFreq {
    private String word;
    private Integer freq;

    public WordFreq() {
    }

    public WordFreq(String word, Integer freq) {
        this.word = word;
        this.freq = freq;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getFreq() {
        return freq;
    }

    public void setFreq(Integer freq) {
        this.freq = freq;
    }

    @Override
    public String toString() {
        return "WordFreq{" +
                "word='" + word + '\'' +
                ", freq=" + freq +
                '}';
    }
}
